widget: Fix variable names
authorBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 15:09:52 +0000 (17:09 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 15:09:52 +0000 (17:09 +0200)
Stop docs build from complaining

gtk/gtkwidget.c
gtk/gtkwidget.h

index b91b83d95d3fb5fe992a1c7afc585a64cb04f405..a140e12fce3dd1bea2a970dd6b9ca74edf1fea50 100644 (file)
@@ -11481,7 +11481,7 @@ gtk_widget_get_own_allocation (GtkWidget    *widget,
  * gtk_widget_compute_bounds:
  * @widget: the #GtkWidget to query
  * @target: the #GtkWidget 
- * @bounds: (out caller-allocates): the rectangle taking the bounds
+ * @out_bounds: (out caller-allocates): the rectangle taking the bounds
  *
  * Computes the bounds for @widget in the coordinate space of @target.
  * FIXME: Explain what "bounds" are.
index 22f2daf27c8dc6fbb52e682c8fa0fa6f977d1a47..d90d065a8ce68d0ac1b5d22c78d1e81afc1adce7 100644 (file)
@@ -624,7 +624,7 @@ void                  gtk_widget_get_allocation         (GtkWidget     *widget,
                                                          GtkAllocation *allocation);
 GDK_AVAILABLE_IN_ALL
 gboolean              gtk_widget_compute_bounds         (GtkWidget     *widget,
-                                                         GtkWidget     *other,
+                                                         GtkWidget     *target,
                                                          graphene_rect_t *out_bounds);
 
 GDK_AVAILABLE_IN_ALL